import request from '@/utils/request'

// 查询教师资源监控列表
export function listTeacherMonitor(query) {
  return request({
    url: '/training/teacherMonitor/list',
    method: 'get',
    params: query
  })
}

// 查询教师资源监控详细
export function getTeacherMonitor(id) {
  return request({
    url: '/training/teacherMonitor/' + id,
    method: 'get'
  })
}

// 新增教师资源监控
export function addTeacherMonitor(data) {
  return request({
    url: '/training/teacherMonitor',
    method: 'post',
    data: data
  })
}

// 修改教师资源监控
export function updateTeacherMonitor(data) {
  return request({
    url: '/training/teacherMonitor',
    method: 'put',
    data: data
  })
}

// 删除教师资源监控
export function delTeacherMonitor(id) {
  return request({
    url: '/training/teacherMonitor/' + id,
    method: 'delete'
  })
}
